fix: upgrade Node runtime to Node20 and update all dependencies#42
Merged
fix: upgrade Node runtime to Node20 and update all dependencies#42
Conversation
- Update task execution handlers from Node (v6) to Node20_1 with Node16 fallback Resolves end-of-life Node version warning (issue #34) - Update all task versions to 0.6.0 - Update dependencies: - axios: ^1.6.0 → ^1.13.0 - azure-pipelines-task-lib: ^4.2.0 → ^4.17.0 - azure-pipelines-tool-lib: 2.0.2 → ^2.0.10 - Updated all devDependencies to latest compatible versions - Add automated publish pipeline (azure-pipelines-publish.yml) - Triggers on version tags (v*) - Builds and tests the extension - Publishes to VS Marketplace using tfx-cli - Requires MARKETPLACE_PAT variable to be configured All tests pass (55/55).
Major updates: - azure-pipelines-task-lib: 4.17.0 → 5.2.6 - eslint: 8.57.0 → 9.39.2 (migrated to flat config) - @typescript-eslint/*: 7.0.0 → 8.53.1 - eslint-config-prettier: 9.0.0 → 10.1.8 - glob: 8.1.0 → 13.0.0 - lint-staged: 15.0.0 → 16.2.7 Config changes: - Migrated from .eslintrc.js to eslint.config.js (ESLint 9 flat config) - Removed @types/glob (glob v13 includes its own types) - Fixed unused variable lint errors in catch blocks Remaining at current versions (incompatible/appropriate): - jest@29, ts-jest@29, @types/jest@29: ts-jest doesn't support jest 30 yet - @types/node@20: Aligned with Node 20 runtime target All 55 tests passing.
- Update all actions to v4 (checkout, setup-node, upload-artifact) - Update CodeQL actions to v3 - Update Node.js versions in CI matrix from 18/19 to 20/22 - Update extension build to use Node.js 20 - Fixes deprecated actions/upload-artifact@v3 error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #34 (End-Of-Life node version warning)
Changes
Node Runtime Upgrade
Node(v6) toNode20_1withNode16fallbackVersion Bump
Dependencies Updated
Config Changes
.eslintrc.js→eslint.config.js(ESLint 9 flat config)@types/glob(glob v13 includes its own types)New: Automated Publish Pipeline
azure-pipelines-publish.ymlfor automated publishing to VS Marketplacev*)MARKETPLACE_PATvariable to be configured in Azure DevOpsTesting
Notes
jest,ts-jest,@types/jestkept at v29 (ts-jest doesn't support jest 30 yet)@types/nodekept at v20 (aligned with Node20 runtime target)